package com.zzyl.nursing.service;

import java.util.List;
import com.zzyl.nursing.domain.Device;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.DeviceDto;
import com.zzyl.nursing.vo.DeviceDetailVo;
import com.zzyl.nursing.vo.DevicePropertiesDataVo;
import com.zzyl.nursing.vo.ProductsVo;

/**
 * 设备表Service接口
 * 
 * @author ruoyi
 * @date 2025-08-26
 */
public interface IDeviceService extends IService<Device>
{

    /**
     * 查询设备表列表
     * 
     * @param device 设备表
     * @return 设备表集合
     */
    public List<Device> selectDeviceList(Device device);

    void syncProductList();

    List<ProductsVo> allProduct();

    void registerDevice(DeviceDto deviceDto);

    DeviceDetailVo queryDeviceDetail(String iotId);

    List<DevicePropertiesDataVo> queryServiceProperties(String iotId);

    String deleteDeviceByIds(DeviceDto dto);
}
